package service;

import java.util.List;

import dao.IDao_Meter;

import model.Meter;
import model.MeterCost;
import model.MeterPrice;

public interface IService_Meter
{
	public Object[] addMeterRecord(Meter meter);

	public int setPrice(MeterPrice meterPrice);

	public int coverMeterRecord(Meter meter);

	public MeterCost addMeterCostRecord(Meter meter, Meter lastRecord);

	public MeterCost coverMeterCostRecord(Meter meter,Meter lastMeter);

	public List<Meter> queryHistoryByDormNumber(String dormNumber, int scale);

	public List<Meter> queryHistoryByShortDate(String shortDate, int scale);

	public List<Meter> queryHistoryByPower(int parseInt, int scale);

	public List<Meter> queryHistoryByWater(int parseInt, int scale);

	public List<Meter> queryAllHistory(int scale);

	public List<MeterCost> queryAllCost(int scale);

	public List<MeterCost> queryCostByDormNumber(String dormNumber, int scale);

	public List<MeterCost> queryCostByShortDate(String shortDate, int scale);

	public List<MeterCost> queryCostByWaterCost(float waterCost, int scale);

	public List<MeterCost> queryCostByPowerCost(float powerCost, int scale);

	public List<MeterCost> queryCostByTotalCost(float totalCost, int scale);

	public List<MeterCost> queryCostByPeopleDay(int peopleDay, int scale);

	public List<MeterCost> queryCostByAverage(float average, int scale);

	
}
